package com.sdy.service;


import com.sdy.entity.User;
import com.sdy.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: ssm1205-2
 * @author: sdy
 * @create: 2022-12-05 16:54
 **/
public interface UserService {
    //    登录
    int login(User user);
    //注册
    int register(User user);
//    修改密码
    int updPassword(User user,String newPassword);
//    获取头像文件名
    String getImg(String username);
}
